//
//  SettingItem.m
//  zoneSun
//
//  Created by zy-gyl on 16/7/19.
//  Copyright © 2016年 Zeaple. All rights reserved.
//

#import "SettingItem.h"

@implementation SettingItem
+ (instancetype)settingItemWithIcon:(NSString *)icon title:(NSString *)title
{
    SettingItem *item = [[self alloc] init];
    item.icon = icon;
    item.title = title;
    return item;
}
+ (instancetype)settingItemWithTitle:(NSString *)title
{
    return [self settingItemWithIcon:nil title:title];
}

@end
